package eclipse.resources;

import java.io.InputStream;
import java.net.URL;

/** 
 * Class that manages files inside the Jar of the Application.
 */
public class ResourceManager 
{	
	/**
	 * Returns the URL of a file within the JAR.
	 * @param sFile String name of the file.
	 */
	public static URL getURL(String sFile)
	{
		return ResourceManager.class.getResource(sFile);
	}
	/**
	 * Returns teh InputStream of a file within the JAR.
	 * @param sFile String name of the file.
	 */
	public static InputStream getInputStream(String sFile)
	{
		return ResourceManager.class.getResourceAsStream(sFile);
	}
}
